package com.project.bean;

import java.time.LocalDate;

public class UserBean {
//    编号
    private int id ;
//    用户名字
    private  String name;
//    用户密码
    private String password;
//    日期
    private LocalDate date ;


    public UserBean (){

    }

    public UserBean(String name, String password, LocalDate date) {
        this.name = name;
        this.password = password;
        this.date = date;

    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }



    @Override
    public String toString() {
        return "UserBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", date=" + date +
                "}\n";
    }
}
